﻿using System;
using System.Collections.ObjectModel;
using System.Configuration;
using System.Reflection;
using System.Collections;

namespace devtm.Editor.Configuration.Data
{

    public class ConfigPropertyCollection : ConfigProperty
    {

        //protected EditorAttribute Editor;

        public ConfigPropertyCollection() : base() { }


        public ConfigPropertyCollection(PropertyInfo propertyinfo, ElementSection instance)
            : this()
        {
            MemberInfo = propertyinfo;
            Instance = instance;

            _CanWrite = propertyinfo.CanWrite;

            IEnumerable Lst;
            if (Value is IEnumerable)
            {
                Lst = (IEnumerable)Value;
            }
            else
            {

            }
                    
           
        }



        public override void RunEditor()
        {
            throw new NotImplementedException();
        }

        public override void Selector()
        {
            throw new NotImplementedException();
        }


    }

}
